<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Hotel Fazenda Tinah</title>
<meta charset="utf-8">

<script type="text/javascript" src="js/jquery-1.8.2.js"></script>
<script type="text/javascript" src="js/jquery-ui.js"></script>
<script type='text/javascript' src='bibliotecas/uploadify/jquery.uploadify.min.js'></script>
<script src="js/jquery.maskedinput-1.1.4.pack.js"></script>
<script src="js/jquery.cpf-validate.1.0.m.js"></script>
<script src="js/jquery-validate.js"></script>
<script src="js/messi.min.js"></script>

<link rel="stylesheet" type="text/css" href="lightbox/fancybox/jquery.fancybox.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/jquery-ui-1.8.21.custom.css" media="screen" /> 
<!--<link rel="stylesheet" type="text/css" href="css/style2.css" />-->
<link rel="stylesheet" type="text/css" href="css/messi.min.css" />
<!--<link href="css/bootstrap.css" rel="stylesheet" media="screen">-->
<link href="css/bootstrap-responsive.css" rel="stylesheet" media="screen">


<!-- Scripts a serem importados. Arquivos do Bootstrap ficarÃ£o aqui -->
<script type="text/javascript" src="lightbox/fancybox/jquery.mousewheel-3.0.6.pack.js"></script>
<script type="text/javascript" src="lightbox/fancybox/jquery.fancybox.js"></script>
<script type="text/javascript" src="lightbox/fancybox/jquery.easing-1.3.pack.js"></script>

<!-- FunÃ§Ãµes padrÃ£o do sistema -->
<script type="text/javascript" src="js/funcoesPadrao.js"></script>
<script type="text/javascript" src="js/site.js"></script>
<script type="text/javascript" src="js/funcoes.js"></script>

<link rel="stylesheet" type="text/css" href="css/Estilo.css" />


<script language="javascript">
	
		
$(document).ready(function(){ 
	
	/*
		O menu serÃ¡ feito com uma lista de links. Portanto
		esse metodo faz com que todos os links que nÃ£o tenham alvo definido
		abram na div central.
	*/
	
	$("a").live("click", function(){ 
		if($(this).attr("href")!="#" && $(this).attr("target")==''){ 
			return carregarPaginaCentral($(this).attr("href"));
		}
	});
	 
	/*
		Todos os posts serÃ£o feitos por ajax
	*/
	
	$("form").live("submit", function(){
		if($(this).attr("action")!=""){
			

			/*
				Recebe aÃ§Ã£o definida no template
			*/
			var url = $(this).attr('action');
			
			$.post(url, $("form").serialize(),function(data){
				//alert(data);
				var dado = data.split("|");
				if(dado[0] == 1){
					sucesso(dado[1],dado[2]);
					
				}else{
					erro(data);
				}
			});
			
			/*
				Impede da pagina ser recarregada.
			*/
			return false;
		}

	});
	
	/*	Essa pagina inicial serÃ¡ a primeira pagina que aparecerÃ¡ na div central
		no caso, tem que ser passada no seguinte formato:
		pacote.php?acao=metodoDesejado&parametro=valor
	*/
	carregarPaginaCentral("sistema.php?acao=home/telaInicial");
	
});
</script>

</head>
<body id="page1" onload="new ElementMaxHeight();">
	<div style="position:absolute; height:auto; min-height: 100%; width: 100%; left: 0; position: absolute;  top: 0; ">
		<div style="opacity:0 ">
			<!--TERMS OF USE. DON'T EDIT OR DELETE THESE LINES. IF YOU EDIT OR DELETE THESE LINES AN ALERT MESSAGE MAY APPEAR WHEN TEMPLATE WILL BE ONLINE-->
				<div id="tcopy" style="height: 75px; position: absolute; bottom: 0px; left:0px; border: none; width: 100%;"><br/><br/><br/>
					<div id="my-header-new" style="width:820px;margin:0 auto;text-align:right;position:relative;bottom:0px;margin-top:63px;color:#bca695;font-size:10px;font-family:Verdana"><strong>fazer site gratis</strong> no <a href="http://www.criarsitegratis.net/"><strong>fazer site gratuito</strong></a></div>																			 
				</div>	
			<!--TERMS OF USE-->
		</div>
    <div id="main" >
		
		
		
		<!-- header -->
		<?php include 'header.php'; ?>
		
		<!-- content -->
		<?php //include 'content.php'; ?>
		<div id="content">
			<div class="wrapper">
				<div class="aside maxheight">
					<div class="box maxheight">
						<div class="inner">
							<div class="navbar-inner">
								<?php
									echo $info['menu'];
								?>
							</div>
						</div>
					</div>
				</div>
				<div class="content">
					<div class="indent">
						<div id="central" class="container">
							<!-- Onde toda magia acontece -->
		   
						</div>
					</div>
				</div>
			</div>
		</div>
		<!--footer-->   
		<?php include 'footer.php'; ?>
		
	</div></div>
</body>



</html>
